<template>
  <div id="app">
    <!-- 仅在当前路由不是 /login 时显示导航栏 -->
    <nav v-if="$route.path !== '/login'">
      <router-link to="/smallRedBook">小红书资源下载</router-link> |
      <router-link to="/taoBaoSpuDownload">淘宝资源下载</router-link>
      <!--      <router-link to="/taobaoData">账单计算</router-link>-->
      |
      <router-link style="float: right;color: red" to="/login">退出登录</router-link>
    </nav>
    <router-view />

  </div>
</template>

<style>
nav {
  padding: 10px;
  background-color: #f5f5f5;
}
nav a {
  margin: 0 10px;
}
</style>
<script setup>
</script>

